<?php

/*
 * @author Ebrain Cedeno <ebraincedeno@gmail.com>
 */

class TLabel extends TWidget{

    public $Text = '';
    
    public function __construct($text='') {
        parent::__construct(__CLASS__);
        $this->Text = $text;
    }
    
    public function show(){
        return '<label for="'.$this->Name.'" '.$this->getOptionsAditional().'>'.$this->Text.'</label>';
    }
    
}
?>
